Skip to content

Comments

Add vite#108

Merged
campos20 merged 12 commits intothewca:mainfrom
campos20:feature/add-vite
Jun 23, 2024
Merged

Add vite#108
campos20 merged 12 commits intothewca:mainfrom
campos20:feature/add-vite

Conversation

@campos20
Copy link
Member

No functionality change.

Actually, just a small functionality change. We don't rely on the BE anymore to get the redirect URI. This will probably speed up login time.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you dropping some of the instructions here without any replacement?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To run the FE only, we are pointing to the prod version. So, it is very simple to run npm install and then npm start. The whole docker setup needed a lot of adjustments about the database dump. Do you think it is still worth it? I can put it back and adjust the Dockerfile to use vite.

"typescript": "^4.1.2",
"web-vitals": "^1.0.1"
},
"version": "0.0.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why reset to 0.0.0 if it was 0.1.0

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vite again. Also, this is not used.

@@ -1,7 +1,7 @@
export default interface Result {
end: Date;
end: string;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

end: string;
rank: number;
start: Date;
start: string;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just making typescript happy. Also, this is display only.

image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this entirely commented out?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it is not currently working. We need to add vitest and make some adjustments.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you deleting the whole Docker Compose setup?
Does Vite not support running with Docker?!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vite supports it. Same as above about docker.

@campos20 campos20 merged commit c86d6a3 into thewca:main Jun 23, 2024
@campos20 campos20 mentioned this pull request Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants